package utils;
import java.util.Properties;

public class PropertyUtils {
	
	private static Properties props = new Properties();
	
	
	static {
		try {
			props.load(PropertyUtils.class.getResourceAsStream("/config.properties"));
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	
	private PropertyUtils() {
		
	}
	
	public static Properties getProperties() {
		return props;
	}
	
	public static String get(String key) {
		return props.getProperty(key);
	}
}
